package com.lovo.dao;
import org.apache.ibatis.annotations.Param;
import java.util.List;

import com.lovo.model.Authority;

public interface AuthorityMapper {

    int deleteByPrimaryKey(Integer authorityId);

    int insert(Authority record);

    int insertSelective(Authority record);

    Authority selectByPrimaryKey(Integer authorityId);

    int updateByPrimaryKeySelective(Authority record);

    int updateByPrimaryKey(Authority record);

    List<Authority> findAllByAuthorityNameAndAuthorityType(@Param("authorityName")String authorityName,@Param("authorityType")String authorityType);

    List<Authority> findAllByAuthorityNameAndAuthorityPath(@Param("authorityName")String authorityName,@Param("authorityPath")String authorityPath);

    List<Authority> findAll();


}